package com.example.voucher.bo;

import com.example.voucher.contract.VoucherItemAccessor;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class VoucherItemKeyOfOpppOrgTitle {

    private String oppoOrgTitleFullname;

    public static VoucherItemKeyOfOpppOrgTitle of(VoucherItemAccessor data) {
        return new VoucherItemKeyOfOpppOrgTitle(data.getOppoOrgTitleFullname());
    }
}